package com.newtouch.bxzs.business.personal.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.newtouch.bxzs.business.personal.model.FeedbackProblemBO;
import com.newtouch.bxzs.business.personal.model.FeedbackProblemVO;
import com.newtouch.bxzs.common.base.model.FeedbackProblem;

/**
 * 反馈问题mapper
 *
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2020年12月30日</td>
 * <td>xiongdianqiang</td>
 * <td>Create</td>
 * </tr>
 * </table>
 * 
 * @author xiongdianqiang
 * 
 * @version 1.0.0
 * @since 1.0.0
 */
@Mapper
public interface FeedbackProblemMapper extends BaseMapper<FeedbackProblem> {

	/**
	 * 获取pc端反馈问题列表
	 * 
	 * @param page
	 * @param feedbackProblemVO
	 * @param userOrganizationCode
	 * @return
	 */
	IPage<FeedbackProblemBO> getPcFeedbackProblemList(@Param("page") Page<FeedbackProblem> page,
			@Param("feedbackProblemVO") FeedbackProblemVO feedbackProblemVO,
			@Param("userOrganizationCode") String userOrganizationCode);

	/**
	 * 获取APP端反馈问题列表
	 * 
	 * @param page
	 * @param feedbackProblemVO
	 * @param userId
	 * @return
	 */
	IPage<FeedbackProblemBO> getAppFeedbackProblemList(@Param("page") Page<FeedbackProblem> page,
			@Param("feedbackProblemVO") FeedbackProblemVO feedbackProblemVO, @Param("userId") String userId);

}
